
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>头像地址重构 · Passport业务手册</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="xiajie <xiajie01@baidu.com>">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-multipart/multipart.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-codeblock-filename/block.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-prism/prism-okaidia.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-custom-js-css/03c70a23567f2990c05f5cb8c64400a2-main.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-custom-js-css/27b4a027a84f513ce71206e15df835dc-folding-chapters.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../portrait-to-bos/" />
    
    
    <link rel="prev" href="../login-refactor/plan.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
    

    

    
        
        <li class="header">[第一章] 开发指南</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                        <b>1.1.</b>
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../guides/develop/awareness.html">
            
                <a href="../../guides/develop/awareness.html">
            
                    
                        <b>1.2.</b>
                    
                    新人必读
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../guides/develop/doc.html">
            
                <a href="../../guides/develop/doc.html">
            
                    
                        <b>1.3.</b>
                    
                    文档撰写
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../../guides/services.html">
            
                <a href="../../guides/services.html">
            
                    
                        <b>1.4.</b>
                    
                    流量接入介绍
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../../guides/services/shifen.html">
            
                <a href="../../guides/services/shifen.html">
            
                    
                        <b>1.4.1.</b>
                    
                    灵渠(shifen平台)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../../guides/services/bgw.html">
            
                <a href="../../guides/services/bgw.html">
            
                    
                        <b>1.4.2.</b>
                    
                    BGW
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../../guides/services/bfe.html">
            
                <a href="../../guides/services/bfe.html">
            
                    
                        <b>1.4.3.</b>
                    
                    BFE
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../../guides/passport.html">
            
                <a href="../../guides/passport.html">
            
                    
                        <b>1.5.</b>
                    
                    Pass技术架构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../../guides/passport/dbgate.html">
            
                <a href="../../guides/passport/dbgate.html">
            
                    
                        <b>1.5.1.</b>
                    
                    DBGATE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../../guides/passport/session.html">
            
                <a href="../../guides/passport/session.html">
            
                    
                        <b>1.5.2.</b>
                    
                    SESSION
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                        <b>1.6.</b>
                    
                    开发环境配置
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../../guides/environment/instances.html">
            
                <a href="../../guides/environment/instances.html">
            
                    
                        <b>1.6.1.</b>
                    
                    开发机实例创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../../guides/environment/server_tool.html">
            
                <a href="../../guides/environment/server_tool.html">
            
                    
                        <b>1.6.2.</b>
                    
                    开发机配套工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../../guides/environment/tool.html">
            
                <a href="../../guides/environment/tool.html">
            
                    
                        <b>1.6.3.</b>
                    
                    本地常用工具
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">[第二章] 业务项目</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../experiment/">
            
                <a href="../experiment/">
            
                    
                        <b>2.1.</b>
                    
                    分层实验平台
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../experiment/concept.html">
            
                <a href="../experiment/concept.html">
            
                    
                        <b>2.1.1.</b>
                    
                    基本概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../experiment/concept_parse.html">
            
                <a href="../experiment/concept_parse.html">
            
                    
                        <b>2.1.2.</b>
                    
                    概念剖析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="../experiment/quick_start.html">
            
                <a href="../experiment/quick_start.html">
            
                    
                        <b>2.1.3.</b>
                    
                    快速开始
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.3.1" data-path="../experiment/quick_start_experiment.html">
            
                <a href="../experiment/quick_start_experiment.html">
            
                    
                        <b>2.1.3.1.</b>
                    
                    实验创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3.2" data-path="../experiment/quick_start_usage.html">
            
                <a href="../experiment/quick_start_usage.html">
            
                    
                        <b>2.1.3.2.</b>
                    
                    业务层应用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3.3" data-path="../experiment/quick_start_chart.html">
            
                <a href="../experiment/quick_start_chart.html">
            
                    
                        <b>2.1.3.3.</b>
                    
                    报表查询
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.1.4" >
            
                <span>
            
                    
                        <b>2.1.4.</b>
                    
                    实现机制
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.4.1" data-path="../experiment/implement_platform.html">
            
                <a href="../experiment/implement_platform.html">
            
                    
                        <b>2.1.4.1.</b>
                    
                    实验平台
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.2" data-path="../experiment/implement_process.html">
            
                <a href="../experiment/implement_process.html">
            
                    
                        <b>2.1.4.2.</b>
                    
                    实验流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.3" data-path="../experiment/implement_sdk.html">
            
                <a href="../experiment/implement_sdk.html">
            
                    
                        <b>2.1.4.3.</b>
                    
                    SDK
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.4" data-path="../experiment/implement_expression.html">
            
                <a href="../experiment/implement_expression.html">
            
                    
                        <b>2.1.4.4.</b>
                    
                    表达式执行器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.5" data-path="../experiment/implement_chart.html">
            
                <a href="../experiment/implement_chart.html">
            
                    
                        <b>2.1.4.5.</b>
                    
                    通用报表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="../experiment/cases.html">
            
                <a href="../experiment/cases.html">
            
                    
                        <b>2.1.5.</b>
                    
                    应用案例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="../experiment/reference.html">
            
                <a href="../experiment/reference.html">
            
                    
                        <b>2.1.6.</b>
                    
                    参考资料
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../auth-widget/">
            
                <a href="../auth-widget/">
            
                    
                        <b>2.2.</b>
                    
                    验证控件重构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" >
            
                <span>
            
                    
                        <b>2.2.1.</b>
                    
                    当前现状
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1.1" data-path="../auth-widget/current/authtoken.html">
            
                <a href="../auth-widget/current/authtoken.html">
            
                    
                        <b>2.2.1.1.</b>
                    
                    初始化阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.2" data-path="../auth-widget/current/render.html">
            
                <a href="../auth-widget/current/render.html">
            
                    
                        <b>2.2.1.2.</b>
                    
                    渲染阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.3" data-path="../auth-widget/current/check.html">
            
                <a href="../auth-widget/current/check.html">
            
                    
                        <b>2.2.1.3.</b>
                    
                    验证阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.4" data-path="../auth-widget/current/use.html">
            
                <a href="../auth-widget/current/use.html">
            
                    
                        <b>2.2.1.4.</b>
                    
                    使用阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.5" data-path="../auth-widget/current/now.html">
            
                <a href="../auth-widget/current/now.html">
            
                    
                        <b>2.2.1.5.</b>
                    
                    使用场景
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="../auth-widget/refactor.html">
            
                <a href="../auth-widget/refactor.html">
            
                    
                        <b>2.2.2.</b>
                    
                    重构实现
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.2.1" data-path="../auth-widget/refactor/context.html">
            
                <a href="../auth-widget/refactor/context.html">
            
                    
                        <b>2.2.2.1.</b>
                    
                    验证控件上下文
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.2" data-path="../auth-widget/refactor/interface.html">
            
                <a href="../auth-widget/refactor/interface.html">
            
                    
                        <b>2.2.2.2.</b>
                    
                    验证控件抽象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.3" data-path="../auth-widget/refactor/mobile.html">
            
                <a href="../auth-widget/refactor/mobile.html">
            
                    
                        <b>2.2.2.3.</b>
                    
                    手机验证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.4" data-path="../auth-widget/refactor/email.html">
            
                <a href="../auth-widget/refactor/email.html">
            
                    
                        <b>2.2.2.4.</b>
                    
                    邮箱验证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.5" data-path="../auth-widget/refactor/facematch.html">
            
                <a href="../auth-widget/refactor/facematch.html">
            
                    
                        <b>2.2.2.5.</b>
                    
                    刷脸验证
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.3" >
            
                <span>
            
                    
                        <b>2.2.3.</b>
                    
                    新版使用
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.3.1" data-path="../auth-widget/new/authtoken.html">
            
                <a href="../auth-widget/new/authtoken.html">
            
                    
                        <b>2.2.3.1.</b>
                    
                    初始化阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.2" data-path="../auth-widget/new/render.html">
            
                <a href="../auth-widget/new/render.html">
            
                    
                        <b>2.2.3.2.</b>
                    
                    渲染阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.3" data-path="../auth-widget/new/check.html">
            
                <a href="../auth-widget/new/check.html">
            
                    
                        <b>2.2.3.3.</b>
                    
                    验证阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.4" data-path="../auth-widget/new/use.html">
            
                <a href="../auth-widget/new/use.html">
            
                    
                        <b>2.2.3.4.</b>
                    
                    使用阶段
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../mobile-refactor/">
            
                <a href="../mobile-refactor/">
            
                    
                        <b>2.3.</b>
                    
                    联系手机
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="../mobile-refactor/ppui.html">
            
                <a href="../mobile-refactor/ppui.html">
            
                    
                        <b>2.3.1.</b>
                    
                    业务层
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="../mobile-refactor/dbgate.html">
            
                <a href="../mobile-refactor/dbgate.html">
            
                    
                        <b>2.3.2.</b>
                    
                    后端
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="../mobile-refactor/plan.html">
            
                <a href="../mobile-refactor/plan.html">
            
                    
                        <b>2.3.3.</b>
                    
                    开发方案
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="../portrait-to-orp/orp/">
            
                <a href="../portrait-to-orp/orp/">
            
                    
                        <b>2.4.</b>
                    
                    头像迁移ORP
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="../portrait-to-orp/orp/evaluate.html">
            
                <a href="../portrait-to-orp/orp/evaluate.html">
            
                    
                        <b>2.4.1.</b>
                    
                    流量评估
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="../portrait-to-orp/orp/deploy.html">
            
                <a href="../portrait-to-orp/orp/deploy.html">
            
                    
                        <b>2.4.2.</b>
                    
                    服务部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="../portrait-to-orp/orp/test.html">
            
                <a href="../portrait-to-orp/orp/test.html">
            
                    
                        <b>2.4.3.</b>
                    
                    测试方案
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.4" data-path="../portrait-to-orp/orp/test-result.html">
            
                <a href="../portrait-to-orp/orp/test-result.html">
            
                    
                        <b>2.4.4.</b>
                    
                    测试结论
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.5" data-path="../portrait-to-orp/orp/bug.html">
            
                <a href="../portrait-to-orp/orp/bug.html">
            
                    
                        <b>2.4.5.</b>
                    
                    BUG收集
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.6" data-path="../portrait-to-orp/orp/service.html">
            
                <a href="../portrait-to-orp/orp/service.html">
            
                    
                        <b>2.4.6.</b>
                    
                    依赖服务梳理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.7" data-path="../portrait-to-orp/orp/monitor.html">
            
                <a href="../portrait-to-orp/orp/monitor.html">
            
                    
                        <b>2.4.7.</b>
                    
                    监控规则梳理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.8" data-path="../portrait-to-orp/orp/plan.html">
            
                <a href="../portrait-to-orp/orp/plan.html">
            
                    
                        <b>2.4.8.</b>
                    
                    计划排期
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="../experiment/trace/">
            
                <a href="../experiment/trace/">
            
                    
                        <b>2.5.</b>
                    
                    TraceID机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="../experiment/trace/concept.html">
            
                <a href="../experiment/trace/concept.html">
            
                    
                        <b>2.5.1.</b>
                    
                    基本概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2" >
            
                <span>
            
                    
                        <b>2.5.2.</b>
                    
                    实现机制
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.2.1" data-path="../experiment/trace/trace_id.html">
            
                <a href="../experiment/trace/trace_id.html">
            
                    
                        <b>2.5.2.1.</b>
                    
                    TraceID及管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.2" data-path="../experiment/trace/flow_id.html">
            
                <a href="../experiment/trace/flow_id.html">
            
                    
                        <b>2.5.2.2.</b>
                    
                    流程定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.3" data-path="../experiment/trace/flow_handle.html">
            
                <a href="../experiment/trace/flow_handle.html">
            
                    
                        <b>2.5.2.3.</b>
                    
                    流程处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.4" data-path="../experiment/trace/exp_append_trace_id.html">
            
                <a href="../experiment/trace/exp_append_trace_id.html">
            
                    
                        <b>2.5.2.4.</b>
                    
                    小流量实验
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5" data-path="../experiment/trace/trace_id_transfer.html">
            
                <a href="../experiment/trace/trace_id_transfer.html">
            
                    
                        <b>2.5.2.5.</b>
                    
                    TraceID传递
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.2.5.1" data-path="../experiment/trace/trace_id_transfer_ppui.html">
            
                <a href="../experiment/trace/trace_id_transfer_ppui.html">
            
                    
                        <b>2.5.2.5.1.</b>
                    
                    PPUI
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5.2" data-path="../experiment/trace/trace_id_transfer_fe.html">
            
                <a href="../experiment/trace/trace_id_transfer_fe.html">
            
                    
                        <b>2.5.2.5.2.</b>
                    
                    FE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5.3" data-path="../experiment/trace/trace_id_transfer_na.html">
            
                <a href="../experiment/trace/trace_id_transfer_na.html">
            
                    
                        <b>2.5.2.5.3.</b>
                    
                    NA端
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5.2.6" data-path="../experiment/trace/log.html">
            
                <a href="../experiment/trace/log.html">
            
                    
                        <b>2.5.2.6.</b>
                    
                    日志记录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="../face-cluster/">
            
                <a href="../face-cluster/">
            
                    
                        <b>2.6.</b>
                    
                    人脸聚类
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" >
            
                <span>
            
                    
                        <b>2.6.1.</b>
                    
                    存量聚类
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1.1" data-path="../face-cluster/clustering/feature.html">
            
                <a href="../face-cluster/clustering/feature.html">
            
                    
                        <b>2.6.1.1.</b>
                    
                    特征提取
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.1.2" data-path="../face-cluster/clustering/cluster.html">
            
                <a href="../face-cluster/clustering/cluster.html">
            
                    
                        <b>2.6.1.2.</b>
                    
                    聚类输出
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="../face-cluster/face.html">
            
                <a href="../face-cluster/face.html">
            
                    
                        <b>2.6.2.</b>
                    
                    人脸管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.2.1" data-path="../face-cluster/face/register.html">
            
                <a href="../face-cluster/face/register.html">
            
                    
                        <b>2.6.2.1.</b>
                    
                    人脸注册
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.2.2" data-path="../face-cluster/face/search.html">
            
                <a href="../face-cluster/face/search.html">
            
                    
                        <b>2.6.2.2.</b>
                    
                    人脸搜索
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.3" >
            
                <span>
            
                    
                        <b>2.6.3.</b>
                    
                    业务改造
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.3.1" data-path="../face-cluster/refactor/face.html">
            
                <a href="../face-cluster/refactor/face.html">
            
                    
                        <b>2.6.3.1.</b>
                    
                    刷脸开关
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.3.2" data-path="../face-cluster/refactor/face_login.html">
            
                <a href="../face-cluster/refactor/face_login.html">
            
                    
                        <b>2.6.3.2.</b>
                    
                    刷脸登录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="../face-cluster/question.html">
            
                <a href="../face-cluster/question.html">
            
                    
                        <b>2.6.4.</b>
                    
                    问题探讨
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="../face-platform/">
            
                <a href="../face-platform/">
            
                    
                        <b>2.7.</b>
                    
                    Pass人脸库建设
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.7.1" data-path="../face-platform/phase-1.html">
            
                <a href="../face-platform/phase-1.html">
            
                    
                        <b>2.7.1.</b>
                    
                    一期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.7.2" data-path="../face-platform/phase-2.html">
            
                <a href="../face-platform/phase-2.html">
            
                    
                        <b>2.7.2.</b>
                    
                    二期
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="../ipv6/">
            
                <a href="../ipv6/">
            
                    
                        <b>2.8.</b>
                    
                    IPV6兼容改造
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9" >
            
                <span>
            
                    
                        <b>2.9.</b>
                    
                    NA登录重构
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.9.1" data-path="../nalogin-refactor/">
            
                <a href="../nalogin-refactor/">
            
                    
                        <b>2.9.1.</b>
                    
                    需求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.2" data-path="../nalogin-refactor/experiment.html">
            
                <a href="../nalogin-refactor/experiment.html">
            
                    
                        <b>2.9.2.</b>
                    
                    新版页面小流量方案
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3" >
            
                <span>
            
                    
                        <b>2.9.3.</b>
                    
                    接口改造
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.9.3.1" data-path="../nalogin-refactor/refactor/check.html">
            
                <a href="../nalogin-refactor/refactor/check.html">
            
                    
                        <b>2.9.3.1.</b>
                    
                    帐号检测
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.2" data-path="../nalogin-refactor/refactor/history.html">
            
                <a href="../nalogin-refactor/refactor/history.html">
            
                    
                        <b>2.9.3.2.</b>
                    
                    获取登录历史
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.3" data-path="../nalogin-refactor/refactor/sendSMS.html">
            
                <a href="../nalogin-refactor/refactor/sendSMS.html">
            
                    
                        <b>2.9.3.3.</b>
                    
                    发送短信验证码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.4" data-path="../nalogin-refactor/refactor/smsLogin.html">
            
                <a href="../nalogin-refactor/refactor/smsLogin.html">
            
                    
                        <b>2.9.3.4.</b>
                    
                    短信登录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.5" data-path="../nalogin-refactor/refactor/login.html">
            
                <a href="../nalogin-refactor/refactor/login.html">
            
                    
                        <b>2.9.3.5.</b>
                    
                    帐密登录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.9.4" data-path="../nalogin-refactor/smarty.html">
            
                <a href="../nalogin-refactor/smarty.html">
            
                    
                        <b>2.9.4.</b>
                    
                    smarty模板
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="../login-refactor/">
            
                <a href="../login-refactor/">
            
                    
                        <b>2.10.</b>
                    
                    登录服务重构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.10.1" data-path="../login-refactor/api.html">
            
                <a href="../login-refactor/api.html">
            
                    
                        <b>2.10.1.</b>
                    
                    接口设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.10.2" data-path="../login-refactor/server.html">
            
                <a href="../login-refactor/server.html">
            
                    
                        <b>2.10.2.</b>
                    
                    服务端实现
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.10.3" data-path="../login-refactor/plan.html">
            
                <a href="../login-refactor/plan.html">
            
                    
                        <b>2.10.3.</b>
                    
                    开发计划
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter active" data-level="2.11" data-path="./">
            
                <a href="./">
            
                    
                        <b>2.11.</b>
                    
                    头像地址重构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="../portrait-to-bos/">
            
                <a href="../portrait-to-bos/">
            
                    
                        <b>2.12.</b>
                    
                    头像存储迁移
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.13" data-path="../log-masking/">
            
                <a href="../log-masking/">
            
                    
                        <b>2.13.</b>
                    
                    业务日志脱敏
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">[第三章] 服务接入</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../../open/auth-widget/">
            
                <a href="../../open/auth-widget/">
            
                    
                        <b>3.1.</b>
                    
                    验证控件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="../../open/auth-widget/prepare.html">
            
                <a href="../../open/auth-widget/prepare.html">
            
                    
                        <b>3.1.1.</b>
                    
                    前期准备
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="../../open/auth-widget/token.html">
            
                <a href="../../open/auth-widget/token.html">
            
                    
                        <b>3.1.2.</b>
                    
                    AuthToken生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="../../open/auth-widget/wap.html">
            
                <a href="../../open/auth-widget/wap.html">
            
                    
                        <b>3.1.3.</b>
                    
                    NA/WAP端接入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4" data-path="../../open/auth-widget/pc.html">
            
                <a href="../../open/auth-widget/pc.html">
            
                    
                        <b>3.1.4.</b>
                    
                    PC端接入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.5" data-path="../../open/auth-widget/auth.html">
            
                <a href="../../open/auth-widget/auth.html">
            
                    
                        <b>3.1.5.</b>
                    
                    合法性校验
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.6" data-path="../../open/auth-widget/code.html">
            
                <a href="../../open/auth-widget/code.html">
            
                    
                        <b>3.1.6.</b>
                    
                    附:验证控件SDK源码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../../open/portrait/">
            
                <a href="../../open/portrait/">
            
                    
                        <b>3.2.</b>
                    
                    头像接入
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >头像地址重构</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x80CC;&#x666F;"><a name="&#x80CC;&#x666F;" class="anchor-navigation-ex-anchor" href="#&#x80CC;&#x666F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x80CC;&#x666F;</h1>
<p>Pass&#x5934;&#x50CF;&#x76EE;&#x524D;&#x670D;&#x52A1;&#x4E8E;&#x767E;&#x5EA6;&#x5927;&#x90E8;&#x5206;C&#x7AEF;&#x4EA7;&#x54C1;&#xFF0C;&#x5305;&#x62EC;&#x8D34;&#x5427;&#x3001;&#x7F51;&#x76D8;&#x3001;&#x624B;&#x767E;&#x7B49;TOP&#x4EA7;&#x54C1;&#x7EBF;&#xFF0C;&#x76EE;&#x524D;&#x5934;&#x50CF;&#x8BBF;&#x95EE;&#x6D41;&#x7A0B;&#x5982;&#x4E0B;&#xFF1A;</p>
<p><img src="assets/flow.png"></p>
<h4 id="&#x4EA7;&#x54C1;&#x7EBF;&#x5934;&#x50CF;&#x5730;&#x5740;&#x751F;&#x6210;&#x89C4;&#x5219;"><a name="&#x4EA7;&#x54C1;&#x7EBF;&#x5934;&#x50CF;&#x5730;&#x5740;&#x751F;&#x6210;&#x89C4;&#x5219;" class="anchor-navigation-ex-anchor" href="#&#x4EA7;&#x54C1;&#x7EBF;&#x5934;&#x50CF;&#x5730;&#x5740;&#x751F;&#x6210;&#x89C4;&#x5219;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4EA7;&#x54C1;&#x7EBF;&#x5934;&#x50CF;&#x5730;&#x5740;&#x751F;&#x6210;&#x89C4;&#x5219;</h4>
<pre class="language-"><code class="lang-php">https<span class="token punctuation">:</span><span class="token comment">//himg.bdimg.com/sys/${size}/item/${sign}${ext}</span>
</code></pre>
<ul>
<li>${size}&#xFF1A;&#x5934;&#x50CF;&#x5C3A;&#x5BF8;(portraitn=&#x5C0F;&#x56FE;|portrait=&#x4E2D;&#x56FE;|portraith=&#x5927;&#x56FE;)&#x3002;</li>
<li>${sign}&#xFF1A;&#x5934;&#x50CF;&#x52A0;&#x5BC6;&#x4E32;&#xFF0C;&#x53EF;&#x901A;&#x8FC7;uid&#x6216;uid+username&#x8C03;&#x7528;<a href="http://icode.baidu.com/repos/baidu/odp/phplib-crypt/blob/master:php/phplib/bd/crypt/Ucrypt.php?from=search" target="_blank">Bd_Crypt_Ucrypt::ucrypt_encode</a>&#x51FD;&#x6570;&#x751F;&#x6210;&#x3002;</li>
<li>${ext}&#xFF1A;&#x5730;&#x5740;&#x540E;&#x7F00;&#xFF0C;&#x53EF;&#x4F7F;&#x7528;.jpg&#xFF0C;&#x4E5F;&#x53EF;&#x7701;&#x7565;&#xFF0C;&#x517C;&#x5BB9;&#x4E24;&#x79CD;&#x65B9;&#x5F0F;&#x3002;</li>
</ul>
<p>&#x7531;&#x6B64;&#x53EF;&#x5F97;&#x51FA;&#x4E00;&#x4E2A;&#x7528;&#x6237;&#x76EE;&#x524D;&#x7684;&#x5934;&#x50CF;URL&#x6709;<code>3*2*2=12</code>&#x79CD;&#x7EC4;&#x5408;&#x3002;</p>
<h4 id="&#x76EE;&#x524D;&#x5DF2;&#x77E5;&#x5B89;&#x5168;&#x95EE;&#x9898;"><a name="&#x76EE;&#x524D;&#x5DF2;&#x77E5;&#x5B89;&#x5168;&#x95EE;&#x9898;" class="anchor-navigation-ex-anchor" href="#&#x76EE;&#x524D;&#x5DF2;&#x77E5;&#x5B89;&#x5168;&#x95EE;&#x9898;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x76EE;&#x524D;&#x5DF2;&#x77E5;&#x5B89;&#x5168;&#x95EE;&#x9898;</h4>
<ul>
<li><p>&#x5934;&#x50CF;&#x5730;&#x5740;&#x7684;&#x5185;&#x90E8;&#x52A0;&#x5BC6;&#x89E3;&#x5BC6;&#x7B97;&#x6CD5;(&#x5305;&#x62EC;ODP&#x57FA;&#x7840;&#x5E93;)&#x5DF2;&#x7ECF;&#x6CC4;&#x9732;&#x5230;github&#xFF0C;&#x52A0;&#x5BC6;&#x5728;&#x4E00;&#x5B9A;&#x7A0B;&#x5EA6;&#x4E0A;&#x7B49;&#x4E8E;&#x65E0;&#x6548;&#xFF0C;&#x90E8;&#x5206;&#x6CC4;&#x9732;&#x5730;&#x5740;&#x89C1;&#x4E0B;&#x6587;&#x3002;</p>
</li>
<li><p>&#x7531;&#x4E8E;&#x4EA7;&#x54C1;&#x7EBF;&#x4F7F;&#x7528;&#x7684;&#x662F;&#x540C;&#x4E00;&#x7B97;&#x6CD5;&#x751F;&#x6210;&#x5934;&#x50CF;&#x5730;&#x5740;&#xFF0C;&#x5934;&#x50CF;&#x5730;&#x5740;&#x6210;&#x4E3A;&#x4E86;&#x7528;&#x6237;&#x8DE8;&#x4EA7;&#x54C1;&#x7EBF;&#x7684;&#x4E00;&#x4E2A;&#x552F;&#x4E00;&#x6807;&#x8BC6;&#x3002;&#x5982;&#xFF1A;&#x7F51;&#x76D8;&#x53EF;&#x901A;&#x8FC7;&#x624B;&#x673A;&#x53F7;&#x67E5;&#x627E;&#x7528;&#x6237;&#x6DFB;&#x52A0;&#x597D;&#x53CB;(&#x6709;&#x5934;&#x50CF;&#x663E;&#x793A;)&#xFF0C;&#x8D34;&#x5427;&#x5E16;&#x5B50;&#x540C;&#x65F6;&#x6709;&#x7528;&#x6237;&#x540D;&#x3001;&#x5934;&#x50CF;&#xFF0C;&#x8FDB;&#x800C;&#x53EF;&#x8FDB;&#x884C;&#x624B;&#x673A;&#x53F7;&#x4E0E;&#x7528;&#x6237;&#x540D;&#x5173;&#x8054;&#x3002;</p>
</li>
</ul>
<p><strong>&#x9644;&#xFF1A;github&#x6CC4;&#x9732;&#x5730;&#x5740;</strong></p>
<ul>
<li><a href="https://github.com/simonsww/edpx-zhixin/blob/84bb7337fd32a5b17b26dbea2456157fe4c690da/env/phplib/bd/crypt/Ucrypt.php" target="_blank">https://github.com/simonsww/edpx-zhixin/blob/84bb7337fd32a5b17b26dbea2456157fe4c690da/env/phplib/bd/crypt/Ucrypt.php</a></li>
<li><a href="https://github.com/zz198808/script/blob/d607b8f2767f8a665ed2641651b0c555838954ba/php/crypt/Ucrypt.php" target="_blank">https://github.com/zz198808/script/blob/d607b8f2767f8a665ed2641651b0c555838954ba/php/crypt/Ucrypt.php</a></li>
<li><a href="https://github.com/yangyu0116/kanhuiqiu/blob/eb36f7d348fb5cf24c34a3760443fb9ef178ae03/lib/ucrypt/Ucrypt.class.php" target="_blank">https://github.com/yangyu0116/kanhuiqiu/blob/eb36f7d348fb5cf24c34a3760443fb9ef178ae03/lib/ucrypt/Ucrypt.class.php</a></li>
</ul>
<h1 id="&#x6539;&#x9020;&#x65B9;&#x6848;"><a name="&#x6539;&#x9020;&#x65B9;&#x6848;" class="anchor-navigation-ex-anchor" href="#&#x6539;&#x9020;&#x65B9;&#x6848;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6539;&#x9020;&#x65B9;&#x6848;</h1>
<p>&#x66F4;&#x6362;&#x65B0;&#x7684;&#x52A0;&#x5BC6;&#x673A;&#x5236;&#xFF0C;&#x6EE1;&#x8DB3;&#x4EE5;&#x4E0B;&#x8981;&#x6C42;&#xFF1A;</p>
<ul>
<li>&#x52A0;&#x5BC6;&#x7B97;&#x6CD5;&#x5B89;&#x5168;&#x53EF;&#x9760;&#xFF0C;&#x6613;&#x79FB;&#x690D;&#xFF0C;&#x51C6;&#x5907;&#x91C7;&#x7528;<code>AES-256-CBC</code>&#x52A0;&#x5BC6;&#x3002;</li>
<li>&#x5C3D;&#x53EF;&#x80FD;&#x907F;&#x514D;&#x6CC4;&#x9732;&#x98CE;&#x9669;&#xFF0C;&#x91C7;&#x7528;&#x5BC6;&#x94A5;&#x52A0;&#x5BC6;&#xFF0C;&#x5BC6;&#x94A5;&#x4E0E;&#x7B97;&#x6CD5;&#x9694;&#x79BB;&#x3002;</li>
<li>&#x4E0D;&#x540C;&#x4EA7;&#x54C1;&#x7EBF;&#x4E0D;&#x540C;&#x5BC6;&#x94A5;&#xFF0C;&#x907F;&#x514D;&#x5730;&#x5740;&#x76F8;&#x540C;&#x5BFC;&#x81F4;&#x8DE8;&#x4EA7;&#x54C1;&#x7EBF;&#x4E32;&#x8054;&#x3002;</li>
</ul>
<h4 id="&#x65B0;&#x5934;&#x50CF;&#x5730;&#x5740;&#x683C;&#x5F0F;"><a name="&#x65B0;&#x5934;&#x50CF;&#x5730;&#x5740;&#x683C;&#x5F0F;" class="anchor-navigation-ex-anchor" href="#&#x65B0;&#x5934;&#x50CF;&#x5730;&#x5740;&#x683C;&#x5F0F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x65B0;&#x5934;&#x50CF;&#x5730;&#x5740;&#x683C;&#x5F0F;</h4>
<pre class="language-"><code class="lang-php">https<span class="token punctuation">:</span><span class="token comment">//himg.bdimg.com/sys/${size}/item/${tpl}.${keyVersion}.${checkSum}.${data}.jpg</span>
</code></pre>
<p>&#x65B0;&#x5730;&#x5740;&#x7684;<code>sign</code>&#x7531;&#x4EE5;&#x4E0B;&#x90E8;&#x5206;&#x7EC4;&#x6210;&#xFF1A;</p>
<ul>
<li>${tpl}&#xFF1A;&#x4EA7;&#x54C1;&#x7EBF;&#x6807;&#x8BC6;&#xFF0C;&#x4F7F;&#x7528;Pass&#x670D;&#x52A1;&#x7684;&#x4EA7;&#x54C1;&#x7EBF;&#x5747;&#x5DF2;&#x5206;&#x914D;&#x3002;</li>
<li>${keyVersion}&#xFF1A;&#x5BC6;&#x94A5;&#x7248;&#x672C;&#x53F7;&#xFF0C;&#x82E5;&#x4EA7;&#x54C1;&#x7EBF;&#x6CC4;&#x9732;&#x4E86;&#x5BC6;&#x94A5;&#xFF0C;&#x5219;&#x9700;&#x8981;&#x66F4;&#x6362;&#x65B0;&#x7684;&#x5BC6;&#x94A5;&#xFF0C;&#x7248;&#x672C;&#x53F7;+1&#x3002;</li>
<li>${checkSum}&#xFF1A;&#x6821;&#x9A8C;&#x4F4D;&#xFF0C;&#x7528;&#x4E8E;&#x6821;&#x9A8C;sign&#x6574;&#x4F53;&#x7684;&#x5408;&#x6CD5;&#x6027;&#x3002;</li>
<li>${data}&#xFF1A;&#x5BF9;PassID&#x8FDB;&#x884C;&#x52A0;&#x5BC6;&#x540E;&#x751F;&#x6210;&#x7684;&#x4E32;&#x3002;</li>
</ul>
<h4 id="&#x4EA7;&#x54C1;&#x7EBF;&#x63A5;&#x5165;&#x6D41;&#x7A0B;"><a name="&#x4EA7;&#x54C1;&#x7EBF;&#x63A5;&#x5165;&#x6D41;&#x7A0B;" class="anchor-navigation-ex-anchor" href="#&#x4EA7;&#x54C1;&#x7EBF;&#x63A5;&#x5165;&#x6D41;&#x7A0B;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4EA7;&#x54C1;&#x7EBF;&#x63A5;&#x5165;&#x6D41;&#x7A0B;</h4>
<p>&#x53C2;&#x8003; <a href="http://passport.sys.baidu.com/docs/new/ppui-book/open/portrait/" target="_blank">http://passport.sys.baidu.com/docs/new/ppui-book/open/portrait/</a> &#x8FDB;&#x884C;&#x63A5;&#x5165;&#x3002;</p>
<h1 id="&#x6D41;&#x91CF;&#x73B0;&#x72B6;&#x5206;&#x6790;"><a name="&#x6D41;&#x91CF;&#x73B0;&#x72B6;&#x5206;&#x6790;" class="anchor-navigation-ex-anchor" href="#&#x6D41;&#x91CF;&#x73B0;&#x72B6;&#x5206;&#x6790;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6D41;&#x91CF;&#x73B0;&#x72B6;&#x5206;&#x6790;</h1>
<ul>
<li>CDN&#x6D41;&#x91CF;&#x5CF0;&#x503C;33wQPS&#x3002;</li>
<li>CDN&#x7F13;&#x5B58;&#x547D;&#x4E2D;&#x7387;94%~97%&#x3002;</li>
<li>&#x6E90;&#x7AD9;1.2w~1.6wQPS&#x3002;</li>
</ul>
<p><img src="assets/analyse.png"></p>
<p>&#x53EF;&#x4EE5;&#x770B;&#x51FA;&#x4EA7;&#x54C1;&#x7EBF;&#x751F;&#x6210;&#x5934;&#x50CF;&#x5730;&#x5740;&#x7684;&#x89C4;&#x5219;&#x8F83;&#x5206;&#x6563;&#x3002;</p>
<h1 id="&#x4E0A;&#x7EBF;&#x65B9;&#x6848;"><a name="&#x4E0A;&#x7EBF;&#x65B9;&#x6848;" class="anchor-navigation-ex-anchor" href="#&#x4E0A;&#x7EBF;&#x65B9;&#x6848;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E0A;&#x7EBF;&#x65B9;&#x6848;</h1>
<p>&#x7531;&#x4E8E;&#x56FE;&#x7247;&#x8BF7;&#x6C42;CDN&#x7684;QPS&#x8FBE;33w&#xFF0C;&#x6E90;&#x7AD9;&#x76EE;&#x524D;&#x80FD;&#x63D0;&#x4F9B;&#x7684;QPS&#x4EC5;&#x6709;1.8w&#xFF0C;&#x4E0A;&#x7EBF;&#x8981;&#x70B9;&#xFF1A;</p>
<ul>
<li>&#x5404;&#x4EA7;&#x54C1;&#x7EBF;&#x5C0F;&#x6D41;&#x91CF;&#x653E;&#x91CF;&#x63A5;&#x5165;&#x65B0;&#x5730;&#x5740;&#x3002;</li>
<li>&#x6309;&#x4E00;&#x5B9A;&#x7684;QPS&#x4E3B;&#x52A8;&#x8BF7;&#x6C42;CDN&#x89E6;&#x53D1;&#x56DE;&#x6E90;&#xFF0C;&#x8FDB;&#x884C;&#x7F13;&#x5B58;&#x9884;&#x70ED;&#x3002;</li>
<li><del>&#x4E3B;&#x52A8;&#x5411;CDN&#x63A8;&#x9001;&#x5185;&#x5BB9;&#xFF0C;&#x8FDB;&#x884C;&#x7F13;&#x5B58;&#x9884;&#x70ED;&#x3002;</del></li>
</ul>
<h1 id="&#x5F00;&#x53D1;&#x6392;&#x671F;"><a name="&#x5F00;&#x53D1;&#x6392;&#x671F;" class="anchor-navigation-ex-anchor" href="#&#x5F00;&#x53D1;&#x6392;&#x671F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5F00;&#x53D1;&#x6392;&#x671F;</h1>
<p>&#x4E00;&#x671F;&#xFF1A;</p>
<ul>
<li>&#x5F00;&#x53D1;&#x65B0;&#x7684;&#x52A0;&#x5BC6;&#x51FD;&#x6570;(&#x591A;&#x8BED;&#x8A00;&#x7248;&#x672C;)&#x3001;&#x5BC6;&#x94A5;&#x5206;&#x914D;&#x673A;&#x5236;&#x3002;</li>
<li>Passport&#x5B8C;&#x6210;&#x6539;&#x9020;&#x4E0A;&#x7EBF;&#x3002;</li>
</ul>
<p>&#x4E8C;&#x671F;&#xFF1A;</p>
<ul>
<li>&#x4EA7;&#x54C1;&#x7EBF;&#x6539;&#x9020;&#x63A8;&#x8FDB;&#x3002;</li>
</ul>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> &#xA9; fzu </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> &#x6700;&#x540E;&#x4FEE;&#x6539;: 2020-07-14 </span> </footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../login-refactor/plan.html" class="navigation navigation-prev " aria-label="Previous page: 开发计划">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../portrait-to-bos/" class="navigation navigation-next " aria-label="Next page: 头像存储迁移">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"头像地址重构","level":"2.11","depth":1,"next":{"title":"头像存储迁移","level":"2.12","depth":1,"path":"projects/portrait-to-bos/index.md","ref":"projects/portrait-to-bos/index.md","articles":[]},"previous":{"title":"开发计划","level":"2.10.3","depth":2,"path":"projects/login-refactor/plan.md","ref":"projects/login-refactor/plan.md","articles":[]},"dir":"ltr"},"config":{"plugins":["multipart","codeblock-filename","anchor-navigation-ex","page-footer-ex","prism","splitter","custom-js-css","-sharing"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"css":["prismjs/themes/prism-okaidia.css"]},"page-footer-ex":{"copyright":"© fzu","markdown":true,"update_format":"YYYY-MM-DD","update_label":"最后修改:"},"splitter":{},"search":{},"multipart":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":true},"codeblock-filename":{},"custom-js-css":{"css":["assets/css/main.css","assets/css/folding-chapters.css"],"js":["assets/js/folding-chapters.js"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true}},"theme":"default","author":"xiajie <xiajie01@baidu.com>","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"isbn":"","variables":{},"title":"Passport业务手册","language":"zh-hans","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{}},"gitbook":"*","description":"Passport业务手册","extension":null},"file":{"path":"projects/portrait-url-refactor/index.md","mtime":"2020-07-14T00:09:41.375Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-14T00:46:01.528Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-custom-js-css/fc1111ed2beb4b0151beb99a0ab82def-folding-chapters.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

